package study.spring.secondDay;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import org.springframework.context.support.AbstractApplicationContext;

public class BeansPostProcessorMainApp {
	
	public static void main(String[] args) {
		
		AbstractApplicationContext context = new ClassPathXmlApplicationContext("beansPostProcessor.xml");
		
		BeansPostProcessorDemo objA = (BeansPostProcessorDemo) context.getBean("BeansPostProcessorDemo");
		
		objA.getMessage();
		
		context.registerShutdownHook();
		
	}
	
	public BeansPostProcessorMainApp() {
		// TODO Auto-generated constructor stub
	}

}
